home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4663 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.0 KB

  1. Path: news.uni-jena.de!news
  2. From: mkt@isun04.inf.uni-jena.de (Tilo Koerbs)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Help! Can't compile anything on UNIX
  5. Date: 31 Jan 1996 14:46:53 GMT
  6. Organization: Lehrstuhl fuer Rechnerarchitektur- und kommunikation, FSU Jena
  7. Message-ID: <4envct$qlr@fsuj01.rz.uni-jena.de>
  8. References: <4emncp$e56@nntp.Stanford.EDU>
  9. Reply-To: mkt@isun04.inf.uni-jena.de
  10. NNTP-Posting-Host: isun07.inf.uni-jena.de
  11.  
  12. Short Answer:
  13.  The foo.c++ is not a C++ program for the compiler, so it is passed to the linker.
  14.  The Linker, of course, cannot use source code.
  15.  
  16.  The foo.cc is really compiled by the (I think GNU) compiler.
  17.  The error is something like this:
  18.     You included iostream.h in file foo.cc, line 24.
  19.     iostream.h included streambuf.h (Also an iostream header file).
  20.     streambuf.h tried to include '_G_config.h'. This looks like
  21.     a GNU configuration header file (I am not sure!!!). And this
  22.     file is missing (or at a place where the compiler not serches).
  23.  
  24. So far, so good. Wait for other answers!
  25. Bye.
  26.  
  27.  
  28.